<template>
  <div class="TableGroup">
    <el-table :data="itemsInfo" stripe border="">
      <el-table-column prop="date" label="时间" align="center">
        <template slot-scope="scope">{{ scope.row.date||'-' }}</template>
      </el-table-column>
      <el-table-column prop="trade_num	" label="正交易笔数" align="center">
        <template slot-scope="scope">{{ scope.row.trade_num	||'-' }}</template>
      </el-table-column>
      <el-table-column prop="trade_fee" label="正交易金额" align="center">
        <template slot-scope="scope">{{ scope.row.trade_fee||'-' }}</template>
      </el-table-column>
      <el-table-column prop="neg_num" label="负交易笔数" align="center">
        <template slot-scope="scope">{{ scope.row.neg_num||'-' }}</template>
      </el-table-column>
      <el-table-column prop="neg_fee" label="负交易金额" align="center">
        <template slot-scope="scope">{{ scope.row.neg_fee||'-' }}</template>
      </el-table-column>
    </el-table>
  </div>
</template>

<script>
export default {
  components: {},
  props: {
    itemsInfo: {
      type: Array,
      default: null
    }
  },
  data() {
    return {

    }
  },

  methods: {}
}
</script>

<style lang="scss" scoped>
.TableGroup {
  .title {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    .line {
      width: 3px;
      height: 16px;
      background: #579ef8;
    }
    .title-text {
      font-size: 18px;
      font-family: PingFang SC;
      font-weight: 400;
      color: #333333;
      margin-left: 20px;
      font-weight: bold;
    }
  }
}
</style>
